package com.nuoniu.sibanyun.entity.crm.call;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 客户管理-外呼管理-快呼模式
 * </p>
 *
 * @author 白强
 * @since 2022-02-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("crm_call_mode")
@ApiModel(value="CrmCallMode对象", description="客户管理-外呼管理-快呼模式")
public class CrmCallMode extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租户ID")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "模式名称")
    @TableField("mode_name")
    private String modeName;

    @ApiModelProperty(value = "快呼类型 1：人工 2：自动播放语音人工随时介入 ")
    @TableField("call_type")
    private Integer callType;

    @ApiModelProperty(value = "语音ID")
    @TableField("voice_id")
    private Integer voiceId;

    @ApiModelProperty(value = "语音名称")
    @TableField("voice_name")
    private String voiceName;

    @ApiModelProperty(value = "语音地址")
    @TableField("voice_url")
    private String voiceUrl;

    @ApiModelProperty(value = "每通电话呼叫间隔N秒")
    @TableField("interval_time")
    private Integer intervalTime;

    @ApiModelProperty(value = "一个卡槽拨打N次后自动切换卡槽 ")
    @TableField("sd_call_times")
    private Integer sdCallTimes;

    @ApiModelProperty(value = "一台设备拨打N次后自动切换设备")
    @TableField("device_call_times")
    private Integer deviceCallTimes;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "创建人ID")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;


}
